import Vue from 'vue'
import App from './App.vue'
// 导入写好的路由对象
import router from './router/index.js'
Vue.config.productionTip = false

new Vue({
  // vue实例有router 配置项 来加载全局路由
  // router: router, 
  router,//
  render: h => h(App),
}).$mount('#app')
